/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lineaprogapp;

import LineaProgrLib.LinearFacade;
import java.net.URL;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Label;

/**
 *
 * @author Enuma
 */
public class MainController implements Initializable {
    
    @FXML
    private Label label;
    
    @FXML
    private void handleButtonAction(ActionEvent event) {
	LinearFacade test = new LinearFacade();
	try {
	    test.execute();
	} catch (Exception ex) {
	    Logger.getLogger(MainController.class.getName()).log(Level.SEVERE, null, ex);
	}
	label.setText("Hello World!");
    }
    
    @Override
    public void initialize(URL url, ResourceBundle rb) {
	// TODO
    }    
}
